package com.example.demo.serviceimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.entity.BookType;
import com.example.demo.mapper.BookTypeMapper;

/**
 * 书的类型的实现类
 * 
 * @author wang
 *
 */
@Service
public class BookTypeServiceImpl implements BookTypeMapper {

	@Autowired
	private BookTypeMapper bookTypeMappe;

	/**
	 * 查找书的类型
	 */
	@Override
	public BookType bookTypeId(Integer id) {
		return bookTypeMappe.bookTypeId(id);
	}

}
